import request from '@/utils/request'

// getJsapiTicket
export function getJsapiTicket(params) {
  return request({
    url: '/skmWxPay/getJsapiTicket',
    method: 'get',
	params
  })
}

// JSAPI支付下单，并返回JSAPI调起支付数据
export function prepayWithRequestPayment(data) {
  return request({
    url: '/skmWxPay/prepayWithRequestPayment',
    method: 'post',
	data
  })
}